
public final class HelloWorldThread
{
	public static void main(String[] args) throws Exception
	{
		HelloWorldThread helloWorldThread = new HelloWorldThread();
		
		Thread.sleep(1000000000);
		
		String s = "foo";
		doSmth();
		
		// .....§
	}
	
	private static void doSmth()
	{
		Integer i = new Integer(23);
		Thread t = new Thread();

	}

	public HelloWorldThread() throws Exception
	{
		System.out.println("Hallo welt");
		
		MeinRunnable meinRunnable = new MeinRunnable();
		
		Thread neuesThread = new Thread(meinRunnable);
		neuesThread.start();
		
		System.out.println("Bye welt");
	}
}
